import { R, page, PageQuery, emptyPageInfo ,ResponseData} from "@/api/common/type";
export interface LiveRoom {
    roomId?: number;
    roomName?: string;
    roomAvatar?: string;
    ownerId?: number;
    followCount?: number;
    roomStatus?: string;
    goldCount?: number;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
    
    beginTime?: string | null;
    endTime?: string | null;
}

// 查询直播间分页
export interface LiveRoomResponse extends ResponseData{
    data: page<LiveRoom>

}
  
export interface WatchHistory {
    id?: number;
    roomId?: number;
    viewerId?: number;
    viewerAvatar?: string;
    watchDuration?: number;
    enterTime?: string;
    leaveTime?: string | null;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
}
  
// 查询直播间观看记录分页
export interface LiveRoomWatchesResponse extends ResponseData{
    data: page<WatchHistory>

}

export interface GiftHistory {
    id?: number;
    roomId?: number;
    senderId?: number;
    senderAvatar?: string;
    giftId?: number;
    giftName?: string;
    giftTime?: string;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
}
  
// 查询直播间发送礼物分页
export interface LiveRoomGiftResponse extends ResponseData{
    data: page<GiftHistory>

}

export interface BarrageRecording {
    id?: number;
    roomId?: number;
    senderId?: number;
    senderAvatar?: string;
    content?: string;
    sendTime?: string;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
}

// 查询直播间弹幕的分页
export interface LiveRoomBarrageResponse extends ResponseData{
    data: page<BarrageRecording>

}
  
export interface Gift {
    giftId?: number;
    giftName?: string;
    giftImg?: string;
    price?: number;
    status?: string;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
}
  

export interface Order {
    orderId?: number;
    orderNo?: string;
    userId?: number;
    totalAmount?: number;
    orderStatus?: string;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string | null;
  }